package com.gitee.wsl.service.task.scope

import com.gitee.wsl.concurrent.api.cancel.Cancellable

interface TaskScope: Cancellable {
    fun pause()
}

interface RetryAbleTaskScope: TaskScope {
    fun retry():Int
}

interface ResourceTaskScope: RetryAbleTaskScope {
    fun delete()
}